package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.Headline;
import org.example.pojo.vo.PortalVo;
import org.example.utils.Result;

/**
 * @author 宋孟林
 * @description
 */
public interface HeadlineService extends IService<Headline> {
    Result<Object> findNewsPage(PortalVo portalVo);

    Result<Object> findHeadlineVo(int hid);

    Result<Object> publish(Headline headline, String token);

    Result<Object> findHeadlineByHid(int hid, String token);

    Result<Object> CustomUpdate(Headline headline, String token);
}
